package cn.tonyandmoney.voicenotes.ui.listeners

import android.widget.SeekBar

class SimpleSeekBarChangeListener(val changeListener: (SeekBar, Int) -> Unit) : SeekBar.OnSeekBarChangeListener {

    override fun onProgressChanged(seekBar: SeekBar, progress: Int, fromUser: Boolean) {
        changeListener.invoke(seekBar, progress)
    }

    override fun onStartTrackingTouch(seekBar: SeekBar?) {

    }

    override fun onStopTrackingTouch(seekBar: SeekBar?) {

    }
}